package com.ddwl.schema.vo.wallet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * 账户变动表，用于记录账户变动情况(UserWalletFlow)返回对象
 *
 * @author zach
 * @since 2020-07-25 13:24:01
 */
@Getter
@Setter
@ApiModel(value = "账户金额变动流水")
public class UserWalletFlowVo {

         
    private String id;

    @ApiModelProperty(value = "用户id")     
    private String userId;

    @ApiModelProperty(value = "变动记录Id")     
    private String changeRecord;

    @ApiModelProperty(value = "0 分润佣金结算 1提现,2 提现失败退回,3店铺佣金收入")
    private Integer type;

    @ApiModelProperty(value = "账户变动金额")     
    private BigDecimal changeAmount;

    @ApiModelProperty(value = "交易类型 0支出1收入")
    private Integer transactionType;

    @ApiModelProperty(value = "账户变变动之前余额")     
    private BigDecimal beforeAmount;

    @ApiModelProperty(value = "账户变变动之后余额")     
    private BigDecimal afterAmount;

    @ApiModelProperty(value = "具体变动描述")     
    private String msg;

    @ApiModelProperty(value = "创建时间")
    private Instant gmtCreated;

    @ApiModelProperty(value = "修改时间")     
    private Instant gmtModified;
}